<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
	<script>pic1 = new Image(32, 32); pic1.src = "{{=URL(c='static', f='images/loading.gif')}}";</script>
	<script type="text/javascript" src="{{=URL(c='app_conf', f='js')}}"></script>
        <link rel="stylesheet" type="text/css" href="{{=URL(c='static', f='css/style.css')}}" />
        {{if not authorized:}}
            {{if landing:}}
            <a href="{{=redirect}}" target="_top">{{=lan_content}}</a>
            {{else:}}
            <SCRIPT language="JavaScript"> 
                <!-- 
                top.location="{{=redirect}}"; 
                    //-->
                </SCRIPT>
            {{pass}}
        {{else:}}
        {{=cpa_string}}
        {{=auto_invites_string}}
</head>
<body>
    <body>
        <div id="checkoutput"></div>
        <div id="sessions" style="display:none;"></div>
        {{=loading_code}}
        {{=app_content_code}}
        <div id="fb-root"></div>
        <script type="text/javascript" src="https://connect.facebook.net/en_US/all.js" async="true"></script> 
</body>
</html>
{{pass}}
